package cn.iocoder.yudao.module.reading.controller.app.ai.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.Size;

/**
 * AI文本处理请求 VO
 *
 * @author 芋道源码
 */
@Schema(description = "用户 APP - AI文本处理请求 VO")
@Data
public class AiPolishReqVO {

    @Schema(description = "待处理的文本内容", example = "今天读了一本很好的书")
    @Size(max = 2000, message = "文本内容长度不能超过2000字符")
    private String content;

    @Schema(description = "操作类型", example = "polish", allowableValues = {"polish", "translate"})
    private String operation = "polish";

    @Schema(description = "源语言", example = "en")
    private String sourceLanguage = "en";

    @Schema(description = "目标语言", example = "zh")
    private String targetLanguage = "zh";

}
